<%--
  Created by IntelliJ IDEA.
  User: SYHT
  Date: 2017/4/10
  Time: 14:23
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page isELIgnored="false" %>
<%@ taglib prefix="sf" uri="http://www.springframework.org/tags/form" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <%--<title>two</title>--%>
    <meta charset="UTF-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <jsp:include page="documentForeEnd.jsp"/>
    <link href="${pageContext.request.contextPath}/dist/foreEnd/css/onet.css" rel="stylesheet"/>
    <link href="${pageContext.request.contextPath}/dist/foreEnd/css/common.css" rel="stylesheet" type="text/css"/>
    <script type="text/javascript" src="${pageContext.request.contextPath}/dist/foreEnd/js/jquery-1.9.1.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/dist/foreEnd/js/date.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/dist/foreEnd/js/iscroll.js"></script>
    <script type="text/javascript">
        $(function () {
            $('#beginTime').date();
            $('#endTime').date({theme: "datetime"});
        });
    </script>

</head>
<body>
<header>
    <jsp:include page="headerForeEnd2.jsp"/>
</header>
<div class="container">

    <%--<a href="javascript:void(0)" onclick="goto('back')"><span class="dd fa fa-arrow-left fa-2x"></span></a>
    <a href="javascript:void(0)" onclick="goto('next')"><span class="ff fa fa-arrow-right fa-2x"></span></a>--%>
    <sf:form modelAttribute="person" action="${pageContext.request.contextPath}/Person/addPerson.do" method="post"
             cssClass="dark-matter">
        <fieldset class="f" style="padding: 10px">
            <legend>简历信息</legend>
            <label for="personName">
                <span><span class="fa fa-cog fa-spin"></span>&nbsp;&nbsp;姓名 :</span>
                <sf:input path="personName" autocomplete="off"/>
            </label>

            <label for="personJob">
                <span><span class="fa fa-cog fa-spin"></span>&nbsp;&nbsp;应聘职位 : </span>
                <sf:input path="personJob" autocomplete="off"/>
            </label>

            <label>
                <span><span class="fa fa-cog fa-spin"></span>&nbsp;&nbsp;性别 : </span>
                <sf:radiobutton path="personSex" value="男"/>男
                <sf:radiobutton path="personSex" value="女"/>女
            </label>

            <label for="personBirth">
                <span><span class="fa fa-cog fa-spin"></span>&nbsp;&nbsp;生日 : </span>
                <sf:input path="personBirth" id="beginTime" class="kbtn"/>
            </label>

            <label for="personTel">
                <span><span class="fa fa-cog fa-spin"></span>&nbsp;&nbsp;电话 : </span>
                <sf:input path="personTel"/>
            </label>

            <label for="personEducation">
                <span><span class="fa fa-cog fa-spin"></span> 学历 : </span>
                <sf:input path="personEducation"/>
            </label>

            <label for="personExp">
                <span><span class="fa fa-cog fa-spin"></span>&nbsp;&nbsp;工作经验 : </span>
                <sf:input path="personExp"/>
            </label>

            <span>&nbsp;</span>
            <button type="submit" class="button">保存</button>

        </fieldset>
    </sf:form>
    <div id="datePlugin"></div>
    <div style="text-align:center;margin:50px 0; font:normal 14px/24px 'MicroSoft YaHei';">
    </div>
</div>

<script type="text/javascript">
    $(document).ready(function () {
        $('#nav li').hover(function () {
            $('ul', this).slideDown(200);
            $(this).children('a:first').addClass("hov");
        }, function () {
            $('ul', this).slideUp(100);
            $(this).children('a:first').removeClass("hov");
        });
    });
</script>
</body>
</html>
